Create emulator